package com.winshare.saleAssistant.service;

import com.winshare.saleAssistant.domain.dto.req.BaseIdDTO;
import com.winshare.saleAssistant.domain.dto.req.SupplierCreateDTO;
import com.winshare.saleAssistant.domain.dto.req.SupplierQueryDTO;
import com.winshare.saleAssistant.domain.dto.req.SupplierUpdateDTO;
import com.winshare.saleAssistant.domain.dto.resp.SupplierRespDTO;
import com.winshare.saleAssistant.util.Page;

public interface SupplierService {

    void saveSupplier(SupplierCreateDTO supplierCreateDTO);

    void updateSupplier(SupplierUpdateDTO supplierUpdateDTO);

    SupplierRespDTO getSupplierDetail(BaseIdDTO baseIdDTO);

    void deleteSupplier(BaseIdDTO baseIdDTO);

    Page<SupplierRespDTO> getSupplierList(SupplierQueryDTO supplierQueryDTO);
}
